import * as charts from './echart'


function createEl () {
  const dom = document.createElement('div')
  dom.setAttribute('class', 'chart-area')
  document.body.appendChild(dom)
  return dom
}


function start () {
  const el1 = createEl()
  const el2 = createEl()
  charts.chart1(el1, ['0.01', '0.0001', '0.000001', '0.00000001'])
  charts.chart2(el2, ['0.01', '0.0001', '0.000001', '0.00000001'])
}

start()